Skip to content

Conversation

MCSH
Copy link

@MCSH MCSH commented Oct 2, 2019

Description

This adds a new script that classifies mnist using keras.

Type of change

Please delete options that are not relevant.

  • New Script
  • New feature (non-breaking change which adds functionality)

Comment on lines +44 to +52
model = Sequential()
model.add(Dense(1024, input_shape=(784,)))
model.add(Activation('relu'))
model.add(Dropout(0.2))
model.add(Dense(512))
model.add(Activation('relu'))
model.add(Dropout(0.2))
model.add(Dense(10))
model.add(Activation('softmax'))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

explain these lines with help of comments , that is which activation you are using and why, how many hidden layers etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants